/**
 *  The event controller
 */

app.controller('eventController', ['$scope', function ($scope) {
    
    var activeOne = "";
    
    $scope.setActive = function(tabName){  
        activeOne = tabName;
    };
    $scope.isActive = function(tabName){
        return activeOne === tabName;
    };
}]);